.container {
  display: flex;
  width: 1000px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  margin: auto;
  margin-top: 40px;
  .searchKey {
    width: 300px;
    margin-left: auto;
    position: relative;
    & > input {
      width: 300px;
      height: 25px;
      border: 1px #282828 solid;
      padding-left: 5px;
      box-sizing: border-box;
    }
    .sousuo {
      position: absolute;
      color: #504c4c;
      top: 0;
      right: 10px;
      width: 25px;
      height: 25px;
      text-align: center;
      line-height: 25px;
      cursor: pointer;
    }
  }

  .searchOpt {
    margin-top: 20px;
    margin-left: auto;
    & > * {
      height: 25px;
      width: 100px;
    }
    & > *:first-child {
      margin-right: 10px;
    }
  }

  .codeContent {
    display: flex;
    width: 1000px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    .codeItem {
      position: relative;
      display: flex;
      flex-direction: column;
      width: 300px;
      height: 300px;
      margin-top: 30px;
      &:not(:nth-child(3n-2)) {
        margin-left: 20px;
      }
      border-radius: 10px;
      background-color: #232323;
      color: white;
      padding: 10px;
      .title {
        span {
          display: inline-block;
          max-width: 200px !important;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .suo {
          font-weight: bold;
          margin-left: 5px;
          margin-bottom: 2px;
        }
      }
      .startTime {
        display: flex;
        justify-content: space-between;
        margin-top: 5px;
        color: #6e6f6b;
        font-size: 14px;
        .points {
          cursor: pointer;
        }
      }
      .codeView {
        cursor: pointer;
      }
      .footer {
        position: relative;
        margin-top: 18px;
        display: flex;
        & > * {
          width: fit-content;
          height: 20px;
          padding: 0 10px;
          margin-left: 5px;
          border: 1px black solid;
          border-radius: 20px;
          &:first-child {
            color: #f2a39a;
            border-color: #f2a39a;
            background-color: rgba(242, 163, 154, 0.2);
          }

          &:nth-child(2) {
            color: #3075eb;
            border-color: #3075eb;
            background-color: rgba(54, 130, 198, 0.1);
          }

          &:nth-child(3) {
            background-color: transparent;
            border-color: transparent;
            margin-left: auto;
            letter-spacing: 3px;
            color: white;
            cursor: pointer;
          }

          &:last-child {
            position: absolute;
            z-index: 999;
            border: none;
            left: 50px;
            top: 30px;
          }
        }
      }
    }
  }

  // 更多设置--------------------------------------------------------------------------
  .pointContent {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 120px;
    height: 160px;
    background-color: #1e1e1e;
    display: none;
    flex-direction: column;
    justify-content: center;
    z-index: 99;
    .pointItem:hover {
      background-color: #413f3f;
    }
    .pointItem {
      display: flex;
      flex: 1;
      padding: 0 10px;
      font-size: 16px;
      color: #c9c9c9;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      .text {
        width: 70px;
      }
      &:last-child {
        color: rgb(185, 47, 47);
      }
    }
  }
  .pointContentActive {
    display: flex;
  }

  // 三大蒙版---------------------------------------------------------------------------------
  .mengban1,
  .mengban2,
  .mengban3 {
    position: absolute;
    left: 0;
    top: 0;
    width: 320px;
    height: 320px;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: rgba(97, 97, 97, 0.4);
  }
  .mengban1 {
    display: none;
    .menban1content {
      width: 300px;
      height: 140px;
      background-color: #1f1f1f;
      .jiesuo {
        display: inline-block;
        color: #c3870f;
        font-weight: bold;
        margin: 25px 10px 0px 25px;
      }
      .opencode {
        margin-left: 50px;
        margin-top: 15px;
        font-size: 14px;
      }
      .button2 {
        display: flex;
        justify-content: end;
        align-items: center;
        margin-top: 15px;
        margin-right: 20px;
        gap: 5px;
        .cancel,
        .confirm {
          width: 50px;
          height: 25px;
          text-align: center;
          line-height: 25px;
          cursor: pointer;
          border-radius: 5px;
        }
        .confirm {
          color: black;
          background-color: #e4fd56;
        }
      }
    }
  }
  .mengban2 {
    display: none;
    .mengban2content {
      width: 300px;
      height: 140px;
      background-color: #1f1f1f;
      .suo {
        display: inline-block;
        color: #c3870f;
        font-weight: bold;
        margin: 25px 10px 0px 25px;
      }
      .inputD {
        input {
          width: 200px;
          margin-left: 50px;
          margin-top: 15px;
        }
      }
      .button2 {
        display: flex;
        justify-content: end;
        align-items: center;
        margin-top: 15px;
        margin-right: 20px;
        gap: 5px;
        .cancel,
        .confirm {
          width: 50px;
          height: 25px;
          text-align: center;
          line-height: 25px;
          cursor: pointer;
          border-radius: 5px;
        }
        .confirm {
          color: black;
          background-color: #e4fd56;
        }
      }
    }
  }

  .mengban3 {
    display: none;
    .mengban3content {
      width: 300px;
      height: 140px;
      background-color: #1f1f1f;
      .jinggao {
        display: inline-block;
        color: #c3870f;
        font-weight: bold;
        margin: 40px 10px 0px 25px;
      }

      .button2 {
        display: flex;
        justify-content: end;
        align-items: center;
        margin-top: 25px;
        margin-right: 20px;
        gap: 5px;
        .cancel,
        .confirm {
          width: 50px;
          height: 25px;
          text-align: center;
          line-height: 25px;
          cursor: pointer;
          border-radius: 5px;
        }
        .confirm {
          color: black;
          background-color: #e4fd56;
        }
      }
    }
  }
  .mengban1Active,
  .mengban2Active,
  .mengban3Active {
    display: flex;
  }
}

.notActive {
  display: none;
}
